import request from "@/utils/request";

//区县--------------------------------------------
export function getArea(params) {
  return request({
    url: "/web/v1/base/baseCityApi/getArea",
    method: "get",
    params
  });
}

//城市--------------------------------------------
export function getCity(params) {
  return request({
    url: "/web/v1/base/baseCityApi/getCity",
    method: "get",
    params
  });
}

//省份--------------------------------------------
export function getProvince(params) {
  return request({
    url: "/web/v1/base/baseCityApi/getProvince",
    method: "get",
    params
  });
}

//街道--------------------------------------------
export function getStreet(params) {
  return request({
    url: "/web/v1/base/baseCityApi/getStreet",
    method: "get",
    params
  });
}
